package xyz.suancaiyu.controller;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author puruidong
 * @version 1.0 2017/12/4
 */
@SpringBootApplication
@Controller
public class MyApplication {

    @RequestMapping("/")
    public String index() {
        return "index";
    }

    public static void main(String[] args) {
        SpringApplication.run(MyApplication.class);
    }


}
